package com.zhentao.new_z5.dao;

import com.zhentao.new_z5.pojo.Cuisine;
import com.zhentao.new_z5.pojo.Orders;
import com.zhentao.new_z5.pojo.Shopping;
import com.zhentao.new_z5.vo.Query;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CuisineDao {
    List<Cuisine> findCuisine(Query query);

    void addShop(Shopping shopping);

    List<Shopping> findShop(Query query);

    void DelShop(Query query);

    void AddOrder(Orders orders);

    List<Orders> ordersAll(Query query);

    void updateCuisine(Query query);

    void deleteCuisine(Query query);

    void addCuisine(Cuisine query);

    void ordersUpdate(Orders orders);

    void del(int sid);

    Shopping showShopname(String cname);

    void updateShop(Shopping shop);

    void userShopAdd(Integer uid, Integer sid);
}
